<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 * Description of function
 *
 * @author gangguo
 */
function p($val){
    if(is_bool($val)){
        var_dump($val);
    }elseif(is_null($val)){
        var_dump(NULL);
    }else{
        echo '<pre>';
        var_dump($val);
        echo '</pre>';
    }
}